import { SET_GLOBAL_DATA } from '../constants/actionTypes'

export default function globalData(state = null, action) {
    switch (action.type) {
        case SET_GLOBAL_DATA:
            return action.data;
        default:
            return state;
    }
}
